#ifndef CATSELECT_H
#define CATSELECT_H

#include"expense.h"
#include"addcategory.h"
#include"editcat.h"
#include"db_class.h"
#include <QMainWindow>
#include<QListWidgetItem>

namespace Ui {
    class CatSelect;
}

class CatSelect : public QMainWindow
{
    Q_OBJECT

public:
    explicit CatSelect(QWidget *parent = 0);
    ~CatSelect();

private:
    Ui::CatSelect *ui;
    QListWidgetItem *item1;
    QListWidgetItem *item2;
    db_class db;

private slots:
    void on_listWidget_itemActivated(QListWidgetItem* item);
    void back();
};

#endif // CATSELECT_H
